package com.sntk.registermanager.common.utils;

import java.math.BigInteger;

/**
 * @ClassName: NumberConvertUtils
 * @author: wgchao
 * @createTime: 2020/8/5 3:56 PM
 * @Description: 数字转换
 */
public class NumberConvertUtils {

    /**
     * 16进制转10进制
     * @return
     */
    public static Integer hex16To10(String strHex){
        BigInteger lngNum = new BigInteger(strHex, 16);
        return Math.abs(lngNum.intValue());
    }

}
